﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CheckpointService
{
    [DataContract]
    public class Location
    {
        [DataMember]
        public string Lat { get; set; }

        [DataMember]
        public string Lon { get; set; }

        public Location(string lat, string lon)
        {
            Lat = lat;
            Lon = lon;
        }



        public override string ToString()
        {
            return "lat: " + Lat + ", lon: " + Lon;
        }
    }
}
